package org.blackcat.domain.enums;

/**
 * @author 詹泽
 * @date 2017/2/15
 */
public enum UserEnum {

    USER_AES_PASSWORD_KEY("ASDHUWQIHEASD5649879845546ASDASD4AS654QW6E4Q6W"),

    USER_AES_KEY("WEQWSADD456798QWE561ASD32AS1D654Q6W4E65QW5SDA"),

    USER_REQUEST_TOKEN("token"),

    STAFF_STATUS_SIGNIN(1,"已登录"),

    STAFF_STATUS_SIGNOUT(2,"未登录"),
    ;

    private int code;

    private String value;

    UserEnum(int code) {
        this.code = code;
    }

    UserEnum(String value) {
        this.value = value;
    }

    UserEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public int getCode() {
        return code;
    }
}
